Fix conflicting AWS provider version constraints in Terraform#2425
Merged
Fix conflicting AWS provider version constraints in Terraform#2425
Conversation
- Update versions.tf: change ~> 6.26.0 to ~> 6.28 to satisfy EKS module 21.10.1 requirement of >= 6.28.0 - Regenerate .terraform.lock.hcl with AWS provider 6.34.0 (latest compatible version) Co-authored-by: commjoen <1457214+commjoen@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Terraform on AWS issue due to provider change
Fix conflicting AWS provider version constraints in Terraform
Mar 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The AWS provider was pinned to
~> 6.26.0(i.e.< 6.27.0) inversions.tf, while EKS module 21.10.1 requires>= 6.28.0— makingterraform initimpossible to satisfy.Changes
aws/versions.tf: Relaxed AWS provider constraint from~> 6.26.0→~> 6.28, resolving the conflict while still preventing accidental major version upgrades:aws/.terraform.lock.hcl: Regenerated viaterraform init -upgrade; AWS provider now locked to6.34.0with updated hashes.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
checkpoint-api.hashicorp.com/usr/local/bin/terraform terraform --version(dns block)/usr/local/bin/terraform terraform init -upgrade(dns block)/usr/local/bin/terraform terraform fmt -check(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.